It turns out that living in space can have a lasting impact on how your brain works, researchers have found.