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.
STS-120
As commander of STS-120, Pamela Melroy became the second woman (after Eileen Collins) to command a space shuttle mission. Additionally, the Expedition 16 crew that received STS-120 was commanded by Peggy Whitson, the first female ISS commander. The flight of STS-120 thus became the first time two female mission commanders were in space at the same time.