In a decree of divorce or annulment, the court shall confirm the following as the separate property of a spouse if partitioned or exchanged by written agreement of the spouses: (A) income and earnings from the spouses' property, wages, salaries, and other forms of compensation received on or after January 1 of the year in which the suit for dissolution of marriage was filed; or (B) income and earn