The LUX-ZEPLIN (LZ) detector is a dual-phase liquid xenon time projection chamber (TPC) installed at the Sanford Underground Research Facility (Lead, South Dakota) at a depth of 1478 meters. Although the main objective of LZ is the direct detection of dark matter, its low background environment allows for the search of other rare processes, such as the neutrinoless double beta decay of xenon isotopes 134Xe and 136Xe with the respective Q-values of 826 keV and 2458 keV. The sensitivity of the detector to these decays is directly determined by the energy resolution, which, in turn, is degraded by non-uniformities in detector response. In this work, we present a novel method to correct, in the data, the non-uniformity of the light collected by an array of photosensors in a scintillation detector. This method is based on the knowledge of the light response functions of individual photosensors. With these techniques, we report, at a very early phase of the detector operations, a state-of-the-art energy resolution (σ/μ) of (0.67 ± 0.01)% at 2614 keV for the fiducial volume of 5.6 tonnes of liquid xenon.