They're young enough to not understand much and will be better off with her since she will be doing serious time.
Undoubtedly.....they may well grow up with relatives or in a foster family.
Maybe the mother will get her act together at some point - but by then - things unfortunately get much more complicated for the children...especially concerning their feelings and emotions.
Hopefully they will come out of this stronger....