I would omit "time" altogether By the way, "to get the possession of it" sounds slightly unnatural in this context. I would recommend rewriting the sentence as follows: I've purchased an apartment in MI and it will take about 18 months until I get the keys.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.