“I currently live in North Carolina with wife and 2 small kids. I want to move back to California to be closer to my family. She does not want to move. Can she get a court order to make me stay in NC?”
No, but she can get a court order to make the children stay in North Carolina, with her. It’s called “custody”.