U will considered resident (Alient ) upon moving there
DL in NYC before Covid ( might changed now) : pass the written test, have to take the class from driving school no matter how well you drive ( please check because it might changed ) and once u got the certification from that driving school you can take a drive test in DMV. I can’t say much about NY state rule, but that’s what I know when I lived there