I guess we have to define what a bad shot is. NHL is different than the NBA in that shooting begets more shooting easier with rebounds.
I don't think I've ever heard a coach actually say "oh he took a bad shot"
Usually players are praised for shooting.
If all shots were equally good players would never pass and teams would never have to work very hard to generate scoring chances. Every shot possible from over the center line would be considered good. None of that is true. Quality and context of shots matter.
When coaches tell players to shoot more they're not saying shoot as much as you can no matter what. They're saying they want more offense and more focus on taking shots instead of endlessly cycling or passing. It's a mentality of looking to create a "shot" in the way reasonable attempts at scoring are understood. They're saying get to a position to take one of those shots and take it. They're saying don't be timid, don't get stuck in ruts, don't wait for the "perfect shot" all the time. Look for rebounds, put them back on net.
If you work a long cycle and only come away with a shot from no angle on the goal line in the corner because a player decided to shoot instead of pass one more time, that's a bad shot.
If you have guys pinned low and your d-man shoots into several defenders, increasing the likelihood of an odd-man rush the other way, instead of swinging the puck or holding it and getting the offense reset, that's also a bad shot.
If you have an overload situation where the goaltender has a clear view to the puckhandler who is at a wide angle, and there's little space to shoot at, a low shot off the pads that's easily directed to the other side of the ice for a change of possession and possibly a rush the other way is a bad shot.
Those are just examples off the top of my head. You can watch any NHL game and see a few instances where a shot has little chance or is ill-advised. You don't see teams gaining the zone and just shooting. There's a reason for that.