Most space agencies require employees to have advanced degrees in science, engineering, etc. Relevant experience also matters.