Live in NJ and work remotely for NYC

I live in NJ and have worked fully remote for my employer located in NY. I have never physically step foot into NY to perform my job as I got hired as a remote worker (it's on my offer letter). Does this mean I don't have to file a nonresident NY tax? In my W-2, box 15 & 17, my NJ state taxes were withheld.