Family Code § 4337
CHAPTER 3. Spousal Support Upon Dissolution or Legal Separation
Except as otherwise agreed by the parties in writing, the obligation of a party under an order for the support of the other party terminates upon the death of either party or the remarriage of the other party.