The ions of sodium chloride are not free but held together by strong electrostatic force of attraction. However in aqueous solution of sodium chloride the ions break lose and move freely. Hence, an aqueous solution of sodium chloride conducts electricity.
