In short, the answer is yes.
Look at it this way, you wouldn’t eat a cake you baked three weeks ago, right? So, if consuming your edibles as fresh as the day you bought them is important to you, then take heed of the expiration dates.
No one wants to eat stale food, with or without cannabis in it.
Even if stale doesn’t bother you, the cannabis can break down over time, making the product less potent.
After about a year, depending on the cannabis, the potency decreases. This can leave you with a product that makes you feel sleepy instead of the intended high (and party) you were hoping for.
In a nutshell, you don’t eat bad food, why consume bad edible weed products?