Or whenever a unit moves. Just define a dictionary that stores the current unit location with the unit ID as key and update it whenever a unit moves (or is created). Takes up some memory, but that's insignificant compared to all other info stored about each unit. Only takes, what, 3 lines of code?
Of course, passing the old location in the event would be more efficient, but it will indeed take the SDK to acomplish that.