The marital home is often one of the biggest, if not the biggest, asset that has to be handled during a divorce. Some people go into the divorce with a plan to try to keep the house from their ex out of spite. There is a chance that this train of thought will harm you in the long run.
Children of divorce must learn that just because their parents aren't going to live together any longer doesn't mean that both parents won't be there to support them. You have to work with your ex, as hard as that might be, because your relationship with him or her isn't going to end with the divorce. Instead, during the entire time your children are minors you will have to work as a team.