Does not matter to the electrons....
However, I use the wall. Do not like to leave a potentially "hot" wire (any voltage of any sort) dangling from a wall outlet.
Most cables are pretty flimsy nowadays and leaving them dangling is all the more likely to result in physical damage as well - getting snagged, pulled, stepped on, vacuumed up....