A shared home can become one of the hardest practical issues to resolve after a relationship ends. Alongside the emotional strain, you may need to decide who can stay, how the mortgage will be paid and whether either person can afford to take sole ownership.