Only if you're actively waging war against the general population.
Civilian property rights should not be affected, especially not the ownership. Ukrainian citizens would be entitled to get their homes back or at the very least financial compensation.
The Russians are changing the land register now, so staying won't help at all.