Act Governing Retirement, Severance, and Bereavement Compensation Under the Individual Account System for the Teaching and Other Staff of Public Educational Institutions Article 39

Reasons for bereavement compensation if a currently employed staff member dies are as follows:1. Death caused by illness or accident.2. Death as a result of performing their official duties(hereunder referred to as an " occupational death").Death by suicide is treated as death by illness or accident. However, bereavement compensation will not be given if the staff member commits suicide after having been convicted of a with no further right of appeal, but before being served with a notice of discharge from employment, dismissal from employment, or denied renewal of employment; in such cases, the person's survivors set out in Article 45 may claim the retirement and compensation funds that were contributed by the deceased staff member, paid as a lump-sum.
中文原文 公立學校教職員個人專戶制退休資遣撫卹條例第39條
教職員在職死亡之撫卹原因如下:
一、病故或意外死亡。
二、因執行公務以致死亡(以下簡稱因公死亡)。
自殺死亡比照病故或意外死亡認定。
但因犯罪經判刑確定後,於免職、解聘或不續聘處分送達前自殺者,不予撫卹,並得由其第四十五條所定遺族,申請一次發還亡故教職員本人提繳之退撫儲金。

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