NYC vs. GA residence question

Hello,

 

Was looking at renting an apartment in NYC for 2 - 3 years for work, but would like to retain GA residency.

 

I have no intention of moving my drivers license from GA, and would still like to keep my vehicles registered in GA, as well as vote in Georgia. I do have a home I own in Georgia as well that I would fly down to visit every 60-90 days from NYC. After I depart New York, I plan to return to my home in Georgia full time.

 

What state(s) would I need to pay taxes to for those 2 - 3 years?