The department of youth services may use or provide special foster homes and places of temporary custody commonly referred to as detention homes, at various places in the commonwealth which shall be completely separate from any police station, town lockup or jail, and which shall be used solely for the temporary care, custody and study of children committed to the care of the department of youth services. Nothing in this section shall prevent the department from using or providing alternative placements and employing alternative measures which, in its discretion, will reasonably assure the appearance of the children before the court.
Mass. Gen. Laws ch. 119, § 68B