The lifespan of cooked pasta is 3-5 days. Cooked chicken lasts 3-4 days before no longer being safe to eat. Store your leftovers in an airtight container for 3-4 days.