Maybe you filed for divorce as an emotional response to something that you've now worked through with your spouse, and you'd like to stay married. Maybe there have been other significant life changes that make it appear your marriage isn't going to end after all. Once the paperwork is in, can you stop it, or are you stuck having to move forward with a divorce you no longer want?
You can definitely ask to have your divorce petition dismissed by the court. You'll need to file a motion to dismiss with the court where you initially filed for your divorce. This motion will then have to be granted by the court before the paperwork is taken off the books.