Companies don’t inform you you’re going to be fired in two weeks so finish up any pending projects, etc. you’re working on before we terminate you in two weeks. That’s not how it works.
If you’ve seen the movie “Margin Call” there’s a great scene that walks through when Stanley Tucci’s character gets let go. Especially the condescension of the two women doing his exit interview.