The good news is that, worst-case scenario, this is going to wipe out a city. And cities and their surrounding areas can absolutely be evacuated. We definitely have the cars and buses necessary for that.
Even without incentives, in all likelihood, those who can will evacuate early for peace of mind, and as the prediction becomes more certain on its approach through measurement, individuals will I'm sure even start to return /before/ the pass. You know everyone has their own set of 9s to chase
Even if we had three years to move everyone from one side of the earth to the other and could handle the transportation, and then another three years to move them back, how are you going to keep them fed? We're just going to double our food infrastructure on half of the world?
Where do we house them for several years? We're going to double our housing?
How are we going to find all those people jobs to sustain them for the several years they're spending on the other side of the world?
All those things would have to be part of the logistics too. Energy usage. Health care. The list goes on.
It would be a logistical and economic upheaval the likes of which the world has never seen. It would lead to political chaos and massive wars over suddenly incredibly limited resources.
Humanity would survive, but a lot of people wouldn't. It wouldn't be a question of logistics, but a complete and increasingly violent reconfiguration of society in all spheres.
If we run a simulation forward to, say, Jan 1 2032, our uncertainty about where the asteroid will be is not only in, let's call it, the X and Y axes, describing a flat circle of where the asteroid might be (see [1]), but also in a Z axis.
That is, our uncertainty of where the asteroid will be can be described as a 3D shape. And if it's further "behind" or "ahead" in its trajectory, then it would be passing through Earth's orbit behind or ahead of time.
1. https://en.wikipedia.org/wiki/Torino_scale#/media/File:Apoph...
Supposing we had a good estimate about time and place, it would be similar in scope to evacuating for a hurricane.
Spoiler: It's an XKCD What If, so lots and lots of people die.
What about empty places? Luckily for Greenland, the calculations predict that the flux of impacts to the poles for Earth is 22% greater than the flux at the equator [1]. So nobody (in their right mind) would want to annex it as an asteroid survival backup site.
[1] https://iopscience.iop.org/article/10.3847/PSJ/abefda/pdf