A person who gravely violates the obligation of residence to which he is bound by reason of an ecclesiastical office is to be punished with a just penalty, not excluding, after a warning, deprivation of the office.
Source: Code of Canon Law (Vatican.va)