Real estate sale and family rights
You are married in community of property and your house was a common property: in this case, the money from the sale is also common. It will be divided between you and your ex-spouse when the divorce is pronounced and your assets are divided.
You can buy a property on your own but you finance it with money that is common and perhaps by taking out a loan: this property is therefore part of the community.
You will have to wait until the divorce is pronounced to be sure that this property is yours, either because the money used to finance it will have been attributed to you at the time of the partition, or because the divorce will take effect before the deed of purchase of this property is signed.