Never mind, I just had to put y as year. This is how I set the JWT expiration for 5 years.

If I login and get the JWT, then decode it to jwt.io, it will show that the token expires in 5 years :
Perhaps, this is not recommended in terms of security perspective. However, I needed to do this for particular purpose.
