if it is in a temp directory - and you did not put it there deliberatly for some reason - you should be able to delete it without effecting anything on your computer. (I do this routinely )
the files windows is ACTIVELY using will not allow you to delete them.