You will need to file two amended returns. You must file one for each spouse separating their income, exemptions, and credits. To support their filing status, the nonresident or part-year resident spouse will need to complete and attach Schedule NR to their Form IL-1040-X. The change must be made by the extended due date.