No, I don't think so. Leaving a crappy company and taking one's skills to another that knows what it's doing is how the Valley's thrived. A noncompete would prevent that.
Dumb middle managers drive out the good people in CA. It's as simple as that. If they could prevent the good people from plying their trade elsewhere, there'd be no discipline on them at all.