If you are the nonresident spouse of a nonresident service member stationed in New York on military orders, your wages earned in New York are exempt from New York income tax. You still pay tax, if any is due, to your own state of residence.
There is nothing to file with New York to claim the exemption itself. Give your employer a withholding certificate claiming the exemption so New York tax is not withheld, and file a New York return to recover any tax already withheld.
Your marriage certificate, your spouse’s military orders assigning them to New York, and proof of your own state of residence.