From my own experience, only the petitioner needs to be present. I got divorced twice in the state of Texas going the "uncontested" route (albeit, over a decade ago), and that was the case. As gigi said, though, make sure you have read the decree thoroughly and understand everything, because once it's over - it's over (unless children are involved).
It's a little humorous, but during my 2nd divorce, my lawyer actually tried hunting down the judge in-between proceedings. We all three met in her office, she asked me a few questions, and that was it. It was all over within 5-10 minutes.