In Indiana, a baby can be up to 45 days old to be legible to be legally given away to the Safe Haven. This means that the parent will not be punished or prosecuted for this and the baby can be given up for adoption without a delay.
So the answer is "45 days"