No, you have to submit an official letter of resignation. Just threatening resignation does not mean you are actually resigning.
In fact, there is no law that states resignation must be submitted in writing (though a contract can stipulate that requirement). I can walk into my boss' office and resign verbally with immediate effect. California is an "at will" state.
That said, I would be happy to read the source you're citing with respect to the employment law relating to resignation if it contradicts my claims.
Totally irrelevant to whether this was a resignation. Your boss can't "resign" you for any reason whatsoever, that is not what "at will" means.