If Mom is on a dependent visa, she may become subject to deportation proceedings if she gets divorced unless she qualifies for another type of visa herself.
The husband - the H1 visa holder - would have a good case for custody of the US-citizen child.