Tax help for military filers

Does that change if they just got married, she is still in the non-resident state on the military members orders, but her legal resident state is different than his?