Nobody gets married assuming that they will one day get divorced. Similarly, nobody invests in property expecting that one day they will lose it all.
No matter how heated your divorce becomes, it is crucial that you keep an objective eye on one factor: What belongs to you is yours.