@coldspray in Japan? It is normal. You get that, you lose everything.
By laws, you have pension from the company base on the years you have work for them.
But if you got criminal record, they will drop your pension, which is an illegal act, yet no court will be in your favor.
And good luck...