In my own experience, freezing coffee beans will preserve freshness, as long as the beans are frozen within a few (say 3-5) days of roast in an airtight container and that they are defrosted properly, with the sealed bag allowed to slowly come to room temperature over several hours before the container is opened and the beans are first exposed to air. There is some fairly detailed discussion of this over on homebarista.com.