Localization of Defects Via Residence Time Measures