Roasted garlic will stay good in an airtight container in the fridge for about a week. If you want to extend its shelflife, you can cover it in olive oil, and it will stay for about two weeks. You can also freeze roasted garlic and then thaw it as you are ready to use it. DO NOT store roasted garlic at room temperature.