Measures to ensure the safety of residents in parking areas and common spaces include installing adequate lighting, implementing surveillance cameras, conducting regular patrols, and enforcing parking regulations and access control.