They probably put a 2 year NON-COMPETE clause in the severance agreement as well.
I’d tell them to stick it where the sun don’t shine.
Non-compete clauses do not apply when a worker is fired.