§ 1. A prohibition against residing in a certain place or territory can affect both clerics and religious. An order to reside in a certain place can affect secular clerics and, within the limits of their constitutions, religious. § 2. An order imposing residence in a certain place or territory must have the consent of the Ordinary of that place, unless there is question of a house set up for penance or rehabilitation of clerics, including extra-diocesans.
Source: Code of Canon Law (Vatican.va)