As a founder of a company being acquired, I was ok signing an agreement that had a 1 year non-compete.
As an employee of a regular job - hell no (unless they agree to pay me a substantial portion of my salary for that 2 years)
Depending on the location, this may actually be un-enforceable, but he'll need a lawyer to verify this and fight it if necessary.