1. Except as otherwise provided in subsection 2, when a district court grants probation to a person convicted of a felony or continues probation after the person’s return to the court for violation of a condition of probation, the court may require as a condition of granting or continuing probation that the convicted person live for a period of time specified by the court under the supervision of the Division in a residential center established pursuant to NRS 176A.720.
2. The court may not assign a convicted person to a residential center under subsection 1:
(a) If the convicted person has served a prior prison term in any state or federal penal institution.
(b) Unless, in cases where probation is being granted rather than continued, the assignment is recommended by the Division.