Spousal maintenance is financial support provided by one spouse to the other during or after a divorce, separation, or invalidity proceeding. The court must determine a number of factors, including the need of one party and the ability of the other party to pay, the length of the marriage.