Yes. The Florence Duomo is a holy place and as such, you are expected to wear clothing that covers your shoulders and knees when you enter. It is also prohibited to enter the Cathedral and climb to the Terraces and Cupola wearing flip-flops, slippers, clogs and shoes with heels.