Income is taxed where the work is performed, so if you were still working in New York City, then the income and the taxes paid would still be allocated there.
If you worked remotely for a company that was in New York City, then the income and taxes paid would only apply to the time you were physically working in the city.
The charity donations would be allocated based on where you lived when you made the donation.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"