Children often rebel against parents who are going through a divorce. This is a rough situation for the adults because they want to see their children happy. One of the biggest changes that might come in this situation is that someone must move out of the marital home. Helping the kids to adjust to this is going to be rather complex for many people.
If you are considering a move with the children, you need to determine where you will go. This might be across town or it could be across the country. If your move isn't local, you need to look at what the legalities are regarding removing your child from the jurisdiction of the court without their other parent's permission. You can't just move the kids without letting your ex's or the court's approval. Be sure that you take the appropriate legal steps so that you don't face any trouble in the future over the move.
Once you're in your new home, you should help the children feel at home in the house. They should have their own space if possible. You might consider allowing them to decorate it in the manner they want. This could help them to feel more comfortable in the place.
Another thing to consider is that you will need to be decisive with the children. For example, set rules early in the transition so they become familiar with them. This can make it easier for them to realize that this isn't just a vacation location — it's home. You and your ex might have to help each other with the children during the transition so they see a united parenting front. Just be sure that you put all agreements in writing to make things easier in the future.