N.Y. Comp. Codes R. & Regs. tit. 20, § 154.3
(a) If the status of a trust changes during its taxable year from resident to nonresident, or from nonresident to resident (see subdivision [b] of this section), the fiduciary of such trust must file one New York State fiduciary return as a resident trust for the portion of the year during which the trust is a resident trust, and one New York State fiduciary return as a nonresident trust for the portion of the year during which the trust is a nonresident trust. Furthermore, in determining the New York taxable income, the New York personal service taxable income and the New York State minimum taxable income of such trust for the respective periods of residence and nonresidence, the provisions of sections 154.5 through 154.14 of this Part must be taken into account (if applicable), except to the extent that the provisions of such sections may be inconsistent with the provisions of section 618 or section 638 of the Tax Law.
(1) For purposes of this section, a change of residence of a revocable inter vivos trust or portion thereof will be deemed to have occurred if:
(b)
Tax Law, § 654(g)