Everyone who commits a crime that causes them to be incarcerated is separated from their loved ones of all ages, including children. That’s what prison is about. If you can’t do the time (because you have children) then don’t commit the crime.
Some prisons allow visitation.