The best place and time to live in the Milky Way