It has a weird connotation - if I heard that someone "squatted on the street," I would think they did or were about to do something obscene. I'm assuming, though that you meant that they went into a squat position because they find it restful.
I would say that - "They had been waiting a long time, so they went into a squat position while they continued to wait."