Spend three days in prison.
The easiest way to acquire this achievement is by first attacking a civilian at any settlement. As the guards approach to arrest you, attack them once and then surrender. You will be taken to prison for at least three days (depending on the severity of your crimes this may be more). Upon release the achievement will be unlocked.