You won't lose data (i.e. ads, categories, configuration etc) in the process of an upgrade, however if you plan to make customizations to the theme, then yes you should expect that this will be effected when you upgrade to 3.1. We would recommend you use a
child theme if you plan to change a lot of the code as it will make the process a little less painless.