Optical resonators made of 2D photonic crystal (PhC) slabs provide efficient ways to manipulate light at the nanoscale through small group-velocity modes with low radiation losses. The resonant modes in periodic photonic lattices are predominantly limited by nonleaky guided modes at the boundary of the Brillouin zone below the light cone. Here, we propose a mechanism for ultra-high Q resonators based on the bound states in the continuum (BICs) above the light cone that have zero-group velocity (ZGV) at an arbitrary Bloch wavevector. By means of the mode expansion method, the construction and evolution of avoided crossings and Friedrich-Wintgen BICs are theoretically investigated at the same time. By tuning geometric parameters of the PhC slab, the coalescence of eigenfrequencies for a pair of BIC and ZGV modes is achieved, indicating that the waveguide modes are confined longitudinally by small group-velocity propagation and transversely by BICs. Using this mechanism, we engineer ultra-high Q nanoscale resonators that can significantly suppress the radiative losses, despite the operating frequencies above the light cone and the momenta at the generic k point. Our work suggests that the designed devices possess potential applications in low-threshold lasers and enhanced nonlinear effects.