A 34-year-old man will spend two decades in prison for the rapes of two women less than a month apart in Montgomery.