science postulates dejavu occur due to a latency of neuronal electrical pulse between your left brain and right brain.
but my theory is a subconcious travel that you experience when passing through time in your dream. at least that is my theological believe