§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.
Source: Code of Canon Law (Vatican.va)