Yes. In order to register your vehicle in New York State, you need to have New York State issued automobile liability insurance coverage.
for how long should the liability insurance coverage remain in effect?
As long as the registration of your vehicle remains valid.
Does this apply for motorcycles too?