CIC
Canon 702
Book II. The People of God
Consecrated life
Code of Canon Law
English§1. Those who depart from a religious institute legitimately or have been dismissed from it legitimately can request nothing from the institute for any work done in it.
§2. Nevertheless, the institute is to observe equity and the charity of the gospel toward a member who is separated from it.