N.Y. Family Court Act § 914
No effect on marital status
The family court in a proceeding under this article may not issue any order affecting the marital status of the petitioner or of the petitioner's spouse or relieving either of any marital obligation.