No, a trap wouldn't affect whether the pipe would back up or not, either the pipe's restricted, the drain hose isn't far enough in or there's too much water volume.
Of course, standards dictate that it should have a trap, if nothing else to stop sewer gases from escaping.