What are the conditions that must be met for someone to benefit from an alternative detention?

Boeroendi