After you file

Ok ... if he was the primary on the joint return then  HE can use that as a base return to amend it  for himself ... and you as the spouse will have to start a fresh return.    This is an unusual situation and using a local paid tax professional would be a wise idea.  A copy of the annulment papers will need to be attached so bring them with you along with a copy of the original return.