AE doesn't render depth buffers and that seertles that. If you need this functionality, you need to buy plug-ins or create your own setups with even more expressions. Digieffects Depth Cue might help as may Freeform pro or even Element 3D with custom buffers set as the render output....
Mylenium