You should purchase the insurance only after being certain of your travel plans (having the passport/visa papers and the airline tickets in order). It is safest to start the insurance coverage from the date of departure from your native country.