Yes it will work, but as Hawkeye said, make sure you're actually questioning whether or not your dreaming and not just waiting for the alarm to go off so you can perform a reality check. I prefer to just perform random reality checks throughout the day, I don't like being tied to alarms, randomness helps me.