4. The number of days deviled eggs or egg salad can be saved in the refrigerator and still be edible. Hard-boiled eggs still in their shells can keep for a week in the fridge, and raw eggs in their shells can stay fresh three to five weeks from the purchase date, even if the sell-by date has passed.(Source: 1.usa.gov/160UJdA).ard-boiled eggs still in their shells can keep for a week in the fridge, and raw eggs in their shells can stay fresh three to five weeks from the purchase date, even if the sell-by date has passed. (Source: 1.usa.gov/160UJdA).