I imagine you would need to arrange childcare...I think I read somewhere that a resident doctor who left their young children overnight on night shifts was given a warning by the GMC over it or something, and it may have involved social services. So definitely something you need to investigate.
Note that even after the degree it's likely you may need to work long shifts and night shifts as a nurse or midwife (assuming that is what you will be studying based on posting in the nursing and midwifery forum) so this is probably a broader life factor you need to consider for your career.
I'm guessing your main options will be a live-in nanny or having them stay with family e.g. their grandparents or something, until they are older, although I don't work night shifts (anymore) and don't have children so that's just a guess! For day time stuff there might be daycare options available?