To be even more general, it also has to do with how the snake feeds. There are three methods; constriction, venom, and bite and swallow.
As has already been stated, most do use constriction as a from of feeding. There are some though, that just bite and swallow their prey alive.