Not necessarily. Every case is different and it completely depends on your own circumstances, those of your family and also your financial position. The first thing to consider is what is likely to be in the interests of your children. For example, if you have a child going through their GCSEs, then their interests may mean that it is not a good idea to sell the house and disrupt their education.
Financial considerations also play a large part. Although there is a starting point in divorce cases that assets are divided equally, it is very common for one party to receive more than half of the assets, such as if they have the care of the children for most of the time or if they have lower earnings meaning that they can raise less by way of mortgage. Sometimes, if most of the assets are being used to house you and the children, this can mean that there is a provision included in the agreement which requires the house to be sold at some point in the future and the sale proceeds split at that point. For example, if you agreed that your children should be able stay in the house until they finished their A levels, then the house might be sold at that point and the proceeds divided. However, it will all depend on what your family and financial circumstances are, so it is vital that you get legal advice.