Moved to Florida

We have have our home address to Florida effective 10/30/2022.  We will be spending 7 months in FL and the other 5 in NY.  When we file our taxes for 2022 do we have to file a NYS income tax form?