Yes, but it’s better if you’re going to store it unfucked-with.
Assuming the watermelon was handled properly from harvest to purchase, with a minimum of bruises and cuts, then at most it will only taste bland. Cutting the watermelon open will have no effect on how long it lasts as either a whole fruit or as diced pieces in a salad (cutting induces oxidation).