You will indeed get both versions of the game regardless of when you buy it. However, there is one difference between buying before and after the release of the Definitive Edition: it won't include the Sir Lora pre-order DLC if you buy it after.