D&D Home Page - What Class Are You? - Build A Character - D&D Compendium
I would let the players make listen checks with the according checks as StevenO mentioned, and then calculated how far the ogre is away, when they first hear him.
I think the idea here is to make the Listen Check for the PCs and then determine how close the Ogre will get before the distance penalty drops far enough that the PCs succeed. It's an interesting idea but not really all that helpful because how far a PC is away when he "wakes up" isn't really going to make a difference when the important thing is what turn he wakes up.
It is a joke around here that those in the back go first in the initiative order. They have the Dex and Improved Initiative, but the brute fighters have neither. Let those in the rear suffer....
To me the Rogue is usually in the front of the party, sometimes even a round or more ahead, watching for traps and stuff.