Peeing and Yeast Infections

Is it true that if you have sex and don't pee afterwards in can sometimes lead to yeast infections and/or UTI's??