I think it is meant to mainly be open to interpretation, however the following excerpt from stephenking.wikia.com I feel gives the best explanation you could hope for.
[Carrie's mom]... brought Carrie to her knees so that the two could properly pray together. Meanwhile, Margaret had "snapped" earlier on and hidden a knife under one of the floor boards to stab Carrie with, having fallen to the belief that her daughter was ruled by Satan. While they both recited the Lord's Prayer, Margaret stabbed Carrie and caused her to fall downstairs, backwards. She then stalked the frightened child throughout the house, eventually backing Carrie into a corner. Finally, Carrie used her powers to "crucify" her mother to the kitchen doorway.
When it was over, Carrie was overwhelmed by guilt, grief and rage. She screamed to the top of her lungs and grabbed her mother. However, Carrie's powers "spiraled" out of control and caused the house to collapse around her and her mother. Quickly removing Margaret's body from the doorway, Carrie raced for the kitchen closet where she spent many nights being forced to pray for forgiveness and shut the door. Within, Carrie was hit in the head by falling debris and killed. The house was also set aflame due to some of the lit candles falling down, and it eventually sank underground, taking Carrie and Margaret with it.
In the book...
Carrie kills her mother by stopping her heart, but nothing happens to the house. Instead Carrie dies later from her wounds in Sue's arms.
In addition to the explanation from the wikia article, I am also reminded of the scripture in the Book of Revelations from the New Testament which describes the shame of the wicked after the sixth seal is opened -
Revelations 6:16 - ...and they said to the mountains and to the rocks, "Fall on us and hide us from the presence of Him who sits on the throne, and from the wrath of the Lamb..."
I think the house collapsing is supposed to be like her own personal Apocalypse and like the wicked in Revelations, she is calling up the mountains and the rocks to fall upon her and hide her shame for her "wicked" acts.