Emergence of Antibiotic Resistance in Microbial Populations with Spatial Heterogeneity