It used to be quite common to do this, actually. Reccommended even. There was a belief that you could smother your newborn or infant child in too much love and overwhelm them too much.
More than a little irresponsible to be leaving a newborn alone wouldn't you say?