Not directly an answer to the original question, and IANAL, but...
At least for the practice in the Old World, so hopefully applicable in similar legislations elsewhere, citizens have a constitutional right to return to their home country. Nowhere else it says however what happens afterwards - e.g. by current extreme-measures laws, they can be subject to quarantine lock-down, maybe not in their home but some other facility. But as long as it is on the country's territory, the constitutional right to cross the border homewards has been fulfilled.
There is no guarantee whether you'd soon get to the actual home (building) or not.
Here in Europe, generally people with permanent residence visas are also allowed to enter. Generally nobody is allowed to leave (except foreign citizens repatriating to their homelands, and truck drivers ensuring movement of food, medications etc.) to reduce migration and spread of the virus.
Likewise, with planes generally down (maybe expect repatriation/evacuation charters to go rarely) and cars forbidden to cross borders, your ability to achieve your constitutional right to get to the homeland can be compromised/delayed by technical constraints. You are allowed to leave, but have to walk across the ocean, that kind of thing.