I hate to break it to you, but humans (and animals!) value touch very, very much. Flirting without touching is not as effective at creating a bond. Generally, I'd say this advice is fairly sound, if your goal is to make another human being feel more connected to you. But of course, touching someone when they aren't interested does not create a bond, because they weren't interested in the first place.
So yeah, if your goal is play it safe for fear of lawsuits, offense, or rejections, then by all means, do not initiate any physical contact. Expect to be forgettable and for people to tell you "they just didn't feel that spark."