You can, but it isn’t required. Some people prefer to rinse their pasta with cold water when making a cold dish, such as this pasta salad, since rinsing can help remove excess starch and prevent the noodles from clumping together.