Limitations for making of election
The election provided for in paragraph (1) may not be made—
(A) after the expiration of 3 years from the last date prescribed by law for filing the return for such taxable year (determined without regard to any extension of time granted to either spouse); or
(B) after there has been mailed to either spouse, with respect to such taxable year, a notice of deficiency under section 6212, if the spouse, as to such notice, files a petition with the Tax Court within the time prescribed in section 6213; or
(C) after either spouse has commenced a suit in any court for the recovery of any part of the tax for such taxable year; or
(D) after either spouse has entered into a closing agreement under section 7121 with respect to such taxable year, or after any civil or criminal case arising against either spouse with respect to such taxable year has been compromised under section 7122.