Having left the Soul Stone where it rested, it’s unclear if Odin knew where the remaining three Infinity Stones were, but regardless, he decided to keep that test version of the Infinity Gauntlet around as a reminder of all he’d lost and done.
Later, when Thanos traveled to Nidavellir, the dwarves used their knowledge of the test Gauntlet they’d made for Odin to build the Mad Titan the real Infinity Gauntlet.
Hela, on the other hand, didn’t understand why Odin would make such a decision, which led to them fighting and Odin ultimately imprisoning Hela, possibly by using the Space Stone.
From there, Odin hid the Space Stone on Midgard, a.k.a.