In many states, they are enforceable, subject to limits of reasonableness. "Reasonableness" generally means that the agreement cannot act as an absolute bar to earning a living. Geographical and temporal restrictions are generally enforceable, provided that they are related to the beneficiary's (employer's) operations. A statewide ban on competition will generally not be enforced if the employer draws 90% of its business from a single county. However, a countywide ban will probably be upheld. Anti-poaching provisions (prohibiting contact with the employer's customers) will generally be enforced.
Don't let anybody persuade you to casually disregard such an agreement, unless it's a lawyer in the jurisdiction where you want to work. You will end up well and truly screwed if your sea lawyers inadvertently mislead you. It is certainly worth 2 or 3 hundred bucks to know for sure what you can and can't do, since the penalty for violation will likely include disgorgement of all profits gained through a violation.