Once the arrest and booking is over and the person is (hopefully) bailed out of jail, the accused will need a lawyer, but the case that is eventually presented to that lawyer to defend may be very different, depending on how well the defendant listened to the Miranda warnings and asserted those rights.