There was an app called Hangtime that did this, http://iphonehangtime.com/, but it seems like it's gone. I just searched the app store and found another app, also called Hangtime!, that appears to do the same thing under the guise of measuring how long you yourself are airborne (not just the phone).