If it's on the road driven by a UK resident it needs to be re-registered. If it's on a trailer from the entry port then it doesn't need to be re-registered.
If it was marked as exported at the DVLA then you need to notify HMRC of the re-import. If it was SORNd then you just need to put it back...