Absolutely. These days, when people ask me where I grew up, I always say "New York state" to avoid what used to be the inevitable follow-on question: City or state?
Growing up in New York (state), we never called NYC anything but "the city" so saying "New York" obviously meant the state (to us).