The court, at the time of the final decree of dissolution of marriage, may declare, as between the parties, a debt to be unreasonable if it was incurred by a spouse while the spouse was living apart and the debt did not contribute to the benefit of both spouses or their dependents.