When stored properly, perfume easily lasts several years, some people even say ten years or longer - it really depends on how well you take care of it. The most important thing is protecting it from light and temperature fluctuations. So: a dark, cool place, ideally in the original box or in an opaque bottle. A fridge isn't necessary, but it's not a bad idea either - lots of people actually do it and it doesn't hurt. Normal room temperature without direct sunlight is totally fine. Just make sure it's not sitting next to the radiator or above the bathroom cabinet where it gets humid.
How do you know if it's gone bad? First, the color - if the perfume gets darker or changes color, that's a bad sign. Second, the smell: it smells different then, musty or just weird somehow, not like it was at the beginning. And third, the consistency - if it gets cloudy or has particles in it, I wouldn't use it anymore. But honestly, most high-quality perfumes last incredibly long if you don't just stick them on the windowsill. With the gift from your mom, I'd just take a quick sniff now and then - you'll notice right away if something's off.