Act Governing the Appointment of Educators Article 38

Schools may not dismiss teachers whose terms of appointment are still within the validity on the condition that the teachers thereof have not violated the contract of appointment or have not been approved dismissed by the government agencies in charge of education administration due to any serious incidents.Teachers may not resign when the term of appointment thereof is still within validity unless due to legitimate reasons.
中文原文 教育人員任用條例第38條
學校在聘約有效期間內,除教師違反聘約或因重大事故報經主管教育行政機關核准者外,不得解聘。
教師在聘約有效期間內,非有正當事由,不得辭聘。

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