No, you can't unlock the zombie mode by playing co-op. You'll need to progress through the single-player campaign instead.
Completing certain campaign levels will unlock the Nazi Zombies maps for you to play.