To ensure Google sees a natural-looking link profile you must make sure you have a mixture of dofollow and nofollow links pointing to your website.
So nofollow backlinks are good because they help give your backlink profile the right balance.
The same rules apply with nofollow links… large sites with high authority, like Wikipedia, are perfect sites to obtain nofollow links.