In some cases, if both parties can’t come to an agreement on how to sell the property, yes, a court may intervene to force the sale. The laws will differ depending on your state and your specific circumstances, so be sure to consult both your divorce lawyer and a real estate attorney in your area.