Context: Y has just told X that he/she is thinking of buying a flat in New York.

X: Do you go to New York often?
Y: I've lived there on and off for years.