Raw carrots should last 3-4 weeks in the refrigerator. Cooked will last about 3-5 days. If you want to store them in the freezer, you can as long as you blanch (briefly boil) for 2-5 minutes. Then quickly cool in ice water before drying and storing in airtight container. Listonic has more information about storing carrots.