Your options depend on the reason you are selling your home.
Do you need to pay your ex their share but don't have the funds? Perhaps a partial remortgage or a long-term loan can help.
Is it to create income needed to live day-to-day? Consider renting out a room (or rooms) with a platform such as Airbnb.
If you have a large home, think about sharing it with another family in similar circumstances.
Another idea is to provide a safe place for an older person who is independent but needs some assistance at times. (They could babysit for free, too!)