No, Star Wars is set in the Milky Way Galaxy. The Andromeda Galaxy is located 2.5 million light-years away from the Milky Way Galaxy.