Don't quit the job because that way she does not have means to support her child. Just hire a real good lawyer and ask for custody of the child.
Because her hu*****and is in desparate to get the divorce, he may agree to give up kid. 保 全 家 庭? forget it.