I'm not sure, I don't think so, I think dead people stay in their graves till the day of judgement, then they go to heaven or hell on the day of judgement, and if they were good in this life they're graves are pleasant for them and if they were bad then their graves are terrifying.
i heard another story where you go to another place its not hell or heaven but the good people the time of judgement will come as fast as the dropping of beeds of a braclet something like this im probably wrong
a tree fell across the road n blocking the way.then one poor man carrying eggs tried to pass but tripped n fell an all the eggs broke.second man passed n hurt his leg n left some blood on the tree.then drunk man passed n saw the eggs n blood n said,"oh this tree keeps hurting people let me remove it before it hurts more people.n he removed it walked like 2 miles,fell n died.n he went to paridise!