This is important. Unless you were "summarily terminated" (instant) your company still has to pay your benefits such as gratuity.