Splitting up with a partner is always painful. You may be tempted to just walk away without thinking about the implications for your housing situation. This isn't a great solution. You could realise years later that you have made a costly mistake, especially if you owned your home jointly.