Restating the answer from @JacobPeattie in the comments above.
filemtime() requires a path, not a URL
Therefore use plugin_dir_path(__FILE__)
.
The full string for properly printing the cache-busting part of the version number at the end of the asset would be filemtime( plugin_dir_path(__FILE__)