The department may use any of its facilities for the temporary detention of persons in its custody.