FAMILY CODE SECTION 4360
4360. (a) For the purpose of Section 4320, where it is just and
reasonable in view of the circumstances of the parties, the court, in
determining the needs of a supported spouse, may include an amount
sufficient to purchase an annuity for the supported spouse or to
maintain insurance for the benefit of the supported spouse on the
life of the spouse required to make the payment of support, or may
require the spouse required to make the payment of support to
establish a trust to provide for the support of the supported spouse,
so that the supported spouse will not be left without means of
support in the event that the spousal support is terminated by the
death of the party required to make the payment of support.
(b) Except as otherwise agreed to by the parties in writing, an
order made under this section may be modified or terminated at the
discretion of the court at any time before the death of the party
required to make the payment of support.