NY Taxes question

My spouse worked remotely from Texas until 2022 for an organization based in NY.  Prior to moving to Texas (2021), we resided in IL and GA where we paid state taxes (IL and GA accordingly).  Texas does not have state taxes.  Do I need to pay NY state taxes.  I am not a resident of NY, have not been NY in the past 3-4 years and the condition for employment was that i would work remotely when offered.  Please advise.

HC