We are not affiliated with the government
An Independent View of Social Security
Please contact the SSA for this.
I could not find definitive information on this. However, one SSA document indicates annulment (rather than divorce) may prevent one from receiving benefits as a divorced spouse :
A claimant whose marriage to the NH ended by an annulment decree is not entitled to mother's/father's insurance benefits. He or she is not the NH's widow(er) since the annulment presupposes an imperfect marriage. Thus, the claimant cannot be the NH's divorced spouse since he or she was never the NH's legal spouse.