Should I communicate to a researcher that I'll apply for a postdoc position is his lab in approximately two years? I started my first postdoctoral position one year ago in a new university. 
In two years (or so), I'd like to apply for another postdoc position in another university, in a research team that works on subjects that are quite similar to mine.

Sometimes (like once a year) I meet at conferences the group leader of this research lab to which I'd like to apply in two years.

If I met him again, should I tell my intentions to him?
Should I say to him that I'd like to apply to his lab in two years?

For similar questions here on Academia, I read different points of view: some people wrote "It's better he already knows who you are when your resume will arrive on his desktop", while some other people say "The more you wait, the more scientific results and published papers you get, the better you resume gets... so it's better not to apply to early, when your resume is incomplete of your future accomplishments"

What do you think?
Sure, why not?  Telling him you are planning to apply is not the same as applying.  He is not going to make an evaluation right now, so the drawbacks you mention don't apply.  You might also ask him what he regards as good preparation for working in his group.

The only part of this that looks bad to me is that you are planning in advance to do a second post-doc, rather than even try for a permanent position.  But I understand that may be the norm in some fields.