Upon the death of the payee party, the right to receive alimony pursuant to this chapter shall cease. Upon the death of the payor party, the obligation to pay alimony shall cease unless otherwise indicated in an agreement between the parties or an order of court.
23 Pa.C.S. § 3707