According to the official Hyrule Warriors Twitter account, the game will not offer online co-op. Players will only be able to experience co-op play locally.
What this means for online play is currently unclear. The thought was that Hyrule Warriors will offer Internet functionality of some kind, but co-op is definitely ruled out now. I suppose we’ll see very soon!