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

X: Have you lived in a flat before?
Y: I shared one years ago