A chance to score is generally considered to be a shot attempt from the high danger areas of the ice: around the net or in the slot. It doesn't have to hit the net but I do believe a shot does need to be attempted in those areas for them to be considered a scoring chance; a player can't just stand there with the puck and pass it off.
" The National Hockey League (NHL) officially defines a scoring chance as “a clear and unobstructed opportunity directly resulting in a goal, missed shot, or blocked shot scored from within home-plate-shaped area in front of the net”. This definition has evolved over the years, with some advanced analytics websites like Natural Stat Trick using slightly different criteria to track scoring chances. "
Hockey is a fast-paced, exciting sport that's beloved by millions of fans around the world. One of the most important aspects of the game is scoring goals,
icehockeycentral.com