Working for out of state company (NY) but the work is in state I reside (CT). Do I have to pay out of state taxes?

Company issues 1099-NEC for me. I am labeled as an Independent contractor for them.