The simplest way to make this ahead is to make the pesto in advance. Pesto can be frozen for months. Fully made, the pesto orzo salad is best served within the first day, but it can be stored in the refrigerator for several days.