The elements are placed in specific places on the periodic table based on their atomic number and outer electronic configuration which gives them certain properties.
The elements of same groups have same number of valence electrons.
Group 1: one electron in valence shell
Group 2: two electrons in valence shell.
Helium has only two electrons in its outer shell and it is grouped with elements that have completely filled outer orbitals, noble gas.