How to access depth (z) buffer data of a render result from python
Image.pixel is not available for Render Results, nor does it contain depth-information.

You can get the depth in Node Compositor / Cycles, but I don't believe it's possible to read with python in-place.