Keep in mind that laws can vary depending on your jurisdiction, and it's essential to consult with a lawyer for advice specific to your situation.
In many jurisdictions, inheritance is often considered separate property, meaning it belongs to the individual who received it and may not be subject to division in a divorce. However, there can be exceptions, and the treatment of inheritance in divorce cases can depend on various factors, including how the inheritance was handled during the marriage.
If you commingled the inheritance funds with marital assets, it might be more challenging to argue that it should be treated as separate property. For example, if you deposited inheritance funds into a joint bank account or used them to purchase marital property, a court might view those funds differently.
Laws regarding divorce and inheritance can be complex and can vary, so it's crucial to consult with a family law attorney in your jurisdiction. They can provide guidance based on the specific laws that apply to your situation and help you understand your rights and potential outcomes.