My thought is that NDEs might occur before or after the cessation of neural activity. From a first person perspective, there would be no way to distinguish whether it happened when there was no neural activity. From an outside perspective, it would need to be a rigorous, carefully designed test to distinguish. If not properly designed, it would be easy to bias the results through unblinded participants, etc. I'm not aware of such a test being conducted?