It's not that easy. In Thailand the laws or rules are "bendable". Try to find something written down on Immigration Website they're arguing about here. You won't find the "rules".
having a house book or work permit or anything else what certifies your address might work as well, but in general a certification of your residency is required.