(1c) Factors to consider for granting. Upon a judgment of annulment, divorce, or legal separation, or in rendering a judgment in an action under s. 767.001(1)(g) or (j), the court may grant an order requiring maintenance payments to either party for a limited or indefinite length of time, subject to sub. (2c), after considering all of the following:
(a) The length of the marriage.
(b) The age and physical and emotional health of the parties.
(c) The division of property made under s. 767.61.
(d) The educational level of each party at the time of marriage and at the time the action is commenced.
(e) The earning capacity of the party seeking maintenance, including educational background, training, employment skills, work experience, length of absence from the job market, custodial responsibilities for children and the time and expense necessary to acquire sufficient education or training to enable the party to find appropriate employment.
(f) The feasibility that the party seeking maintenance can become self-supporting at a standard of living reasonably comparable to that enjoyed during the marriage, and, if so, the length of time necessary to achieve this goal.
(g) The tax consequences to each party.
(h) Any mutual agreement made by the parties before or during the marriage, according to the terms of which one party has made financial or service contributions to the other with the expectation of reciprocation or other compensation in the future, if the repayment has not been made, or any mutual agreement made by the parties before or during the marriage concerning any arrangement for the financial support of the parties.
(i) The contribution by one party to the education, training or increased earning power of the other.
(j) Such other factors as the court may in each individual case determine to be relevant.
(2c) Terminates at death of payee or payer. Unless already terminated for another reason, maintenance granted under this section terminates upon the death of the payee or the payer, whichever occurs first.