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.
Valery Korzun
Korzun made his first trip to space on board the Soyuz TM-24 with cosmonaut Alexander Kaleri, and the first French woman in space, Claudie André-Deshays on 17 August 1996. The Soyuz spacecraft lifted off from the Baikonur Cosmodrome at 13:18:03 UTC. After two days of solo flight, the Soyuz docked with the Mir station on 19 August at 14:50:23 UTC. Korzun and Kaleri became the 22nd resident crew, first together with NASA astronaut Shannon Lucid, later with astronauts John Blaha and Jerry Linenger. On 2 March 1997 Soyuz TM-24 carrying Korzun, Kaleri and ESA astronaut Reinhold Ewald returned to Earth. The Soyuz capsule landed landing 128 km east of Jezkazgan at 06:44 UTC. Korzun spent 196 days, 17 hours and 26 minutes on board Soyuz TM-24 and Mir.