After the prevailing of the COVID-19 pandemic, urban communities around the world took initiatives to bring their cities back to life. In this research, 45 indicators and 55 elements were selected to make comparisons between urban communities in Lanzhou, China and Sarajevo, Bosnia and Herzegovina from five dimensions of social resilience, economic resilience, institutional resilience, infrastructural resilience, and community capital resilience. At the same time, the ArcGIS platform tool was used for spatial interpolation analysis. In this paper, the inverse distance weighting (IDW) method was used to carry out the spatial analysis of the perceived resilience of the two cities. Due to the heterogeneity of the neighborhood physical environment, operation and management mode, individual attribute characteristics, and internal relations, the resilience of the two urban communities showed disparity in different dimensions. Overall, the communities with good urban property management services, high-income owners, and the convenient transportation have stronger resilience in the face of pandemic. On the contrary, scattered communities, which are scattered in the inner cities, lack effective management, and based on unstable employment, people become the most affected by the epidemic with the lowest resilience power. The importance of social capital, represented by community understanding, identity, and mutual help and cooperation between neighbors, is highlighted in the resilience assessment of the two cities, respectively, in the East and West, indicating that to build more resilient cities, in addition to improving government management and increasing investment in urban infrastructure, building the residents’ sense of belonging, identity, and enduring community culture is even more important in the construction of resilient cities.