In all cases begun pursuant to the provisions of the Children's Code, when a child is taken into custody, the child shall be released to the child's parent, guardian or custodian in accordance with the conditions and time limits set forth in the Children's Court Rules and Forms.
NMS § 32A-1-15