N.Y. Comp. Codes R. & Regs. tit. 20, § 111.2
(c) If neither husband or wife, both of whom are residents, files a Federal income tax return, they may determine their New York taxable income jointly on a joint New York State personal income tax return, or if both so elect, they may determine their New York taxable incomes separately on separate New York State personal income tax returns (also see section 651[b][3] of the Tax Law).
(1) If either the husband or the wife is a resident of New York State for the entire taxable year and the other is a nonresident or part- year resident during such taxable year, they must each determine their New York taxable income on separate New York State personal income tax returns unless they:
(d) Husband and wife with different resident status.
Tax Law, § 611(b)