State and local taxes after moving

My wife and I lived in Brooklyn NYC until 6/30. My wife and I both left our jobs and moved to Florida 7/1. We got paychecks for work done the payperiod we were still residents of NYC and my wife seperatly got two bonuses, one in August and one in December from her prior New York job. State, local, and city taxes were withheld for all four checks. Are we entilted to any refund regarding the paychecks and bonuses after leaving those jobs and moving to Florida? Does that income count as income earned as a non-resident? Thank you.