If the employee was terminated the non-compete should be terminated as well.
However, in my friend's case, she was given the 1-year noncompete in exchange for 4 weeks' pay.
Noncompetes, viewed in a vacuum, are lopsided towards the employer by design. Which is why they are (ideally) counterbalanced by increased pay or other concessions to the employee.