The Short Answer
Usually a whole team. The attorneys or a mediator settle whether the house is kept or sold and on what terms. A divorce financial professional runs the numbers. An accountant checks the tax side. A lender decides whether a buyout can be refinanced. An appraiser, or a realtor's market evaluation, puts a value on it. A closing attorney or title company clears the way to closing. A therapist or divorce coach helps people make decisions they can live with. And a realtor sells the house, or helps each spouse find the next one.
The house goes best when those people talk to each other early instead of finding each other's problems late.
Dennis Mark Interdonato is a REALTOR® and Master CDRE® who leads The Dennis Mark Group at Keller Williams Realty Ocean Living in Point Pleasant, NJ, helping buyers and sellers throughout New Jersey make their next move, with Monmouth and Ocean County as home base. I sell marital homes as a neutral agent for both spouses, so I work alongside every person on this list.
One note before you read: I'm a REALTOR®. I'm not an attorney, a lender or an accountant, and nothing here is legal, lending or tax advice. The rules I mention below are what I found in my own research, and I could be wrong or they could change, so check anything that matters with the professional it belongs to.