So there’s your answer. Deadpool & Wolverine takes place in the Marvel Cinematic Universe, but also in the Fox* *X-Men universe, in the year 2024 but after Wolverine died in 2029 — while drawing from an entirely different X-Men universe where it may or may not be 2024 (or … 2029). Finally, these movies have truly begun to resemble the comics they’re based on.
The retcon is when Logan died.
Logan was always killed by Eastasia.