It will keep in the fridge as long or longer than regular butter. It will keep in the freezer basically indefinitely given sufficient storage methods. However, it sounds more troublesome in terms of storage space, putzing with storage and portioning, and thawing. Why not just brown butter as needed? It doesn’t take long.