Police say the baby could have become ’gravely ill’ and also possibly died had she stayed in the woman’s care