Astronaut
The first civilian in space was Valentina Tereshkova aboard Vostok 6 (she also became the first woman in space on that mission).
Tereshkova was only honorarily inducted into the USSR's Air Force, which did not accept female pilots at that time. A month later, Joseph Albert Walker became the first American civilian in space when his X-15 Flight 90 crossed the line, qualifying him by the international definition of spaceflight. Walker had joined the US Army Air Force but was not a member during his flight. 
The first people in space who had never been a member of any country's armed forces were both Konstantin Feoktistov and Boris Yegorov aboard Voskhod 1.
Zhanna Yorkina
The honor of being the first woman in space was eventually given to Valentina Tereshkova, who was launched into Earth orbit in June 1963 aboard Vostok 6. Tereshkova's backup was Irina Solovyova, with Valentina Ponomaryova in a supporting 'second backup' role. Yorkina had been taken out of the running for the mission as she had performed poorly in the simulator.