No. Terminating an employment because of bankruptcy is illegal. While an employer can fire an employee for no reason, using bankurptcy as a basis to do so is explicitly prohibited by Section 525 of the Bankruptcy Code, titled “Protection Against Discriminatory Treatment.”