I'm not sure about UA, but I was on SEA-PHX-ATL on US last month which was the same plane on both legs, and same flight number. We had the option of staying or getting off. We could also leave our carry on in the bins, they needed the floors clear for cleaning.
Those of us that did get off had to wait until boarding to get back on.