Prosecutors will not seek juvenile detention unless the child poses a danger to others. And the detention period must end once this danger ceases. That the child is mentally ill or is homeless is not grounds for incarceration at Juvi Hall. Prosecutors may not seek more than 15 days of house arrest (CDP).