Cooked pasta in general lasts for up to 5 days if stored individually. Once you mix it with other things you have to consider whatever ingredient lasts the shortest. For this Lemon Orzo Pasta the diced cucumber is the ingredient with the shortest lifespan of 4 days.