Child overdose victim recovers, remains in state custody