Detecting Earth from distant star-based systems