In general if the parties can come up with an agreement the judge is very likely to agree to it. Most divorce laws seem to be based on general principles of equability. So as long as the parties think it is equable, and the judge agrees then that is ok. So mostly it would depend on the parties.
If the parties can’t agree and a judge is forced to make a ruling, it would depend on the individual situation. So it is hard to make a blanket statement. The judge would have to take into account why there is a disagreement on this point and try to make the most equable division. Given that the value of the asset (the company) is largely in the hands of one party and not the other, on the whole I would think that a judge would try to disentangle the parties as much as possible, the wife getting alternative assets worth roughly the same amount. Forcing a sale of the business would probably not be a favored solution. As that would likely reduce the earning potential of the husband. And the business may have to be sold at a fire sale price to find a buyer, reducing its value to both parties.