In this passage the רוח is most likely referring to the life breath such as the one G-d gave to Adam in Genesis 2:7. Thus it makes sense that רוח here means the souls of these bodies as they later resurrect. Thus it is does **not** mean the spirit of G-d here.