The answer is, it depends. If your manuscript is absolutely riddled with errors, then publishers and literary agents who skim your sample chapters might find it so distracting that they write you off without much consideration.
Utopian Editing, Texas, USA kerri@utopianediting.com