Lawful residence counts, on a permit or by registration, as long as you actually lived there. Your residence permits or registration records will show it.