It gives you a code when you enter an open res, such as "/claim 543", please see: http://empireminecraft.com/guide/residence
You actually don't have to be in a residence to claim it as long as you know the number. I honestly believe that the section about claiming residence in the guide is more than adequate: http://empireminecraft.com/guide/residence