If you live in a house, home, apartment, room, or other similar place in New York State for 90 days, it is considered "alleged evidence" that you are a resident of New York State.
A police officer can use this as evidence to issue a traffic ticket if you drive in New York State without a NY State driver license or vehicle registration . A judge considers the law and the evidence of your intent and decides if you are a resident of New York State
If i have a NY State learner permit , and not have a valid foreign driver license?
NY State law requires a supervising driver to ride with you . The supervising driver must be age 21 or over and must have a valid driver license to operate the vehicle that you drive