They can surrender the baby at any Fire Station or Police Station.
They can place the baby for adoption.
They can release custody to the baby's grandparents as well.
It isn't literal. It's a war quote meaning if you put in good and hard effort, it can save your life. In my oppinion, that can relate to more situations and circumstances in life though.