You and your spouse have equal rights to your children, so theoretically, you can take them and move out unless a divorce case has been filed.
If you or your wife intend to file for a divorce and child custody is going to be an issue, I would advise against you moving out of the home with the children until such time as the court holds a temporary orders hearing in the divorce case and makes a determination of who should have temporary custody of the children. If you move them before a divorce is filed and before a temporary hearing is held, your wife can certainly hold it against you. She can argue that she should be entitled to temporary (and later, permanent) custody of the children since that is their home, and you did not act in their best interests by disrupting their lives with a move.
Also, please be advised that if you move out, with or without the children, and your wife stays in the home, the court is likely to give her temporary possession
of the home since she is already living there and you were the one who moved out. It would likely follow, then, that since she is living in the children's home, she would be the one to get temporary custody of them.
Hope this helps.