it depend on how the JWT token is supplied.
if a username & password api call, it can renew if it has both.
if you are using oauth, then your service could store a refresh token, which can be used via an api call to get a new token (though refresh tokens eventually expire). if refresh token expires or not supported, then the service worker can not get a new token as it requires a UI and web flow.