Why, this user is appearing in the API response as this user is deleted.
getMailboxUsageDetail is a usage report and once reports are generated for a period they are not deleted even when the user are deleted because they are records of usage regardless of if the user still exists or not.
Also, how to know if the user is soft deleted or not.
When a user is soft deleted, the user will be accessible under List deleted items . To check that you can do Get deleted item which returns 404 when the user is either permanently deleted or is not on soft deleted state. For example
GET https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.user/user-id
{
"error": {
"code": "Request_ResourceNotFound",
"message": "Resource 'user-id' does not exist or one of its queried reference-property objects are not present.",
"innerError": {...}
}
}