The Commissioner shall designate shelters throughout the State where a child may be housed for a period not to exceed 21 days if he or she is:
(1) taken into custody pursuant to subdivision 5301(3) of this title; or
(2) referred by other means described in the policies of the Department for Children and Families.