New York State Income Taxes for Nonresidents

Is it appropriate to file as a “nonresident” in New York State if someone earned a total of $75,500 in one year physically working at a federal agency in upstate New York, while maintaining residency in Wyoming?