The procedure is for maintenance of the disk itself, the data transfer protocol, be it SATA or USB, does not make a difference.
The process of defragmenting a drive moves chunks of data around on the disk to improve seek times - this movement process does involve reading a data file into RAM, and then writing it back to disk, so generally, the procedure will take much longer on an external drive because you have all the overhead of the USB protocol, and the limited bandwidth.
That being said, the process of defragmenting a drive is generally used to speed up access times on files, and really does not need to be done on an external drive if it is only used infrequently for backup storage.