Attorney Regulation Act Article 28

A judicial officer or a public attorney shall not practice in the same court jurisdiction, prosecutors office, government agency (organization) or public school in which they served to perform the duties of an attorney for a period of three years after resigning their judicial post. An exception to this provision exists if the person has been suspended, voluntarily suspended or transferred from their judicial office for the past three years.After completing such service, the said personnel in the preceding paragraph may then be employed by the court, prosecutors office, government agency (organization) or public school, in which he or she served to perform the duties of an attorney; the provisions of the preceding paragraph do not apply when the said personnel performs his or her duties of an attorney in another agency (organization) or public school.
中文原文 律師法第28條
司法人員或公職律師自離職之日起三年內,不得在其離職前三年內曾任職務之法院、檢察署、政府機關(構)或公立學校執行律師職務。
但其因停職、休職或調職等原因離開上開法院、檢察署、政府機關(構)或公立學校已滿三年者,不在此限。
前項人員離職後,得受曾任職務之法院、檢察署、政府機關(構)或公立學校委任,於其他機關(構)或公立學校執行律師職務,不適用前項之規定。

English translation for reference only; the Chinese text prevails. Not legal advice.