Absolutely, as these are religious places. In Italy, religious etiquette is for men to wear long pants and for women to wear dresses or skirts that reach below the knee or long pants. Shoulders must also be covered.