California Code
ARTICLE 1 - General Provisions
Section 3580.

3580. Subject to this chapter and to Section 3651, spouses may agree, in writing, to an immediate separation, and may provide in the agreement for the support of either of them and of their children during the separation or upon the dissolution of their marriage. The mutual consent of the parties is sufficient consideration for the agreement.

(Amended by Stats. 2014, Ch. 82, Sec. 33. (SB 1306) Effective January 1, 2015.)