The rapid development of cyber technology and the increase of flexible resources have transformed the distribution network into a cyber-physical distribution system, while the accompanying multidimensional uncertainties have brought new planning challenges. In this paper, an innovative approach is proposed to effectively leverage distributed resources while considering the impact of cyber-physical coupling in distribution network planning. A cyber-physical integrated planning model of the distribution network is proposed, considering the effects of spatial-temporal flexible resources and multinetwork coupling. Specifically, a three-layer optimization model is established and analyzed by the simulate anneal-particle swarm optimization algorithm. The upper layer achieves the optimization of the location and configuration of energy storage systems and smart terminal units. The middle layer optimizes the data load migration strategy using spatial-temporal flexible resources to solve the voltage exceeding problem caused by high penetration of distributed power access, while the lower layer optimizes the cyber side communication topology, improving the convergence speed and control performance of the distribution network. Then, the optimization model is analyzed iteratively with objective functions including total planning cost, operation excess loss and distributed control performance. Finally, the effectiveness and economy of the proposed planning scheme is verified and compared to traditional methods.