Normally time to Resolve field shows total time an issue took to resolve from opened to resolve. If any user wants total time to be calculated from different status to closed then user should follow below instructions.
Instructions
Create a calculate field
As below configuration