I've never heard of it taking longer for Vicodin to leave your body due to gastritis, an inflammation of the stomach. Vicodin, it would appear is processed by the liver- both components of it.
Definitely NO if you got normal liver and kidney function.