Yes, S-corps are as shielded as C-corps. That's one reason to use an S-corp instead of a sole-pro. The S-corp is a separate legal entity and its funds can't be garnished for a shareholder's debts.
However, if the owner didn't take a salary or dividends, but ran personal expenses through the corp accounts, the state could ask a judge to "pierce the corporate veil" because the owner had negated the corp protections by using corp money for personal expenses. Whether this would be successful would depend on the state's laws and the facts of the case.
This post does not constitute legal advice, nor does it create an attorney-client relationship. Postings are based only on the information provided and you should consult an attorney in your area before relying on information contained in this post.