In a divorce, the proportion of your business to which your spouse is entitled depends on the circumstances. If, for example, your partner has a stake or shares in your company, this will be considered when deciding on a fair financial settlement.
If your ex doesn't have any experience in managing the company, it's unlikely that they will receive a portion of its ownership as part of the financial settlement. This is because there is a risk of damage to the business if someone unskilled is given ownership – especially if you and your ex cannot work together.
It's usually preferable to keep the business under the management of its current owner if there are other assets that can be awarded to the non-owner spouse.