[1] https://en.wikipedia.org/wiki/P45_(tax)
Its slang because P45 has nothing directly to do with being fired. It is a tax document related to changing employment.