Duration of election
An election under this subsection shall apply to the taxable year for which made and to all subsequent taxable years until terminated under paragraph (4) or (5); except that any such election shall not apply for any taxable year if neither spouse is a citizen or resident of the United States at any time during such year.