Which of these sentences is grammatically correct?
A.
Avant j’habite à New York.
B.
Il y a deux ans j’habitait à New York.
C.
il y a dix mois j’ai habité à New York.
D.
Depuis cinq ans j’habitait à New York