Hi Juan Pablo and welcome,
InfoPath uses Internet Explorer's built-in auto-complete which remembers previously typed in values for a field. So, it is supported out-of-the-box. You can try it! :)
Another option is to just use a dropdown and type in the first characters of the selection (i.e. use type-ahead)
Good luck!