No. Vaginal yeast infection can happen to sexually active women as well as women who are not sexually active.