If you are a resident in New York City, you have to pay NYC income tax on your worldwide income. If you want to avoid NYC residency tax, you would have to establish your residency out of the city. If you establish your primary residence outside of the city while still working there, you will avoid NYC income tax.
![](https://i.ytimg.com/vi/joD_96Rt_no/maxresdefault.jpg)