or

We know that sodium has positive valency but that of chlorine is negative. The last electron of sodium enters into the s-orbital but that of chlorine enters the p-orbital of the outermost shell. So, sodium is kept in s-block but chlorine is kept in p-block.