Where to put Javascript for footer

Hi! I have a jQuery file that I need to make a function in my footer. This function should work on all pages. Where do I import this file?