Does taking pills without a glass of water effect the effectiveness of the pill?

I take several medications and I often take them dry, or without using water to swallow them. Does this method of taking pills undermine their effects? Is it better to wash your pills down with a glass of water, or does it not really matter?