I have been given "agreements" to sign in which the non-compete clause is plainly unconditionally worded: no matter what the cause of termination. I don't know whether they expected to enforce it or not. I redlined the part covering "dismissal", and my annotated agreement was not rejected.
This was in Massachusetts.
In the end I did get RIFed. They nailed me by conditioning the severance package on accepting a freshly drafted non-compete. I went along with it because I considered my likelihood of continuing in that line of work to be negligible anyway.