Retirement Benetits

If a court entered a consent judgment for ED, and as part of that consent judgment, one party was required to elect a 100% joint and survivor annuity with the other party, and then the first party died prior to retirement age, how/would the ed in the consent judgment affect whether the other party received the retirement benefits?