Yes. Starfield supports Xbox Play Anywhere, which means players who buy the game via Xbox Store will have access to the game on both platforms.