Students from other states or from other nations who attend school in New York State are not normally considered residents of New York State.
and what should I do if my license was issued outside the USA?
You must apply for a new original New York State driver's license at a DMV office. See Get a driver's license