All counties and incorporated municipalities in this state are hereby authorized and empowered to form regional, nonprofit, public corporations which shall provide for the temporary care and custody of youths who have been placed under the jurisdiction of a juvenile court.
Ala. Code § 44-3-2 (1975)