For EU citizens and nonresident the general rule is yes if, your intentions are to apply for residency. Nonresidents can also register if they are habitual residents of the town (living here for more than six months in the year). It is expected that you register with the intention of applying for residency. Full information on an article about the padron found by using the keyword.
The padron is a census of the habitual residents of a town. The town hall obtains funds from the government for each resident registered.
By registering you are declaring that the town on which register on the census is your habitual residence.
It is often stated that the padron do not provide information to the police, tax agencies and other government bodies. These entities do have the right to obtain information from the census.