Gas residue tends to clog the pores in the element rendering it useless because of the air flow restriction. I have seen water do the same thing on certain air filters.
Since you didn't specify which type of air filter, paper or foam, I will add that if it is a foam filter you can usually wash them out with dish soap until clean, wring out excess water, let dry, add a little engine oil and squeeze out the excess oil by hand.