When it comes to resume selection it is all about 'key words' and depending upon the course you do, you would have greater chances of selection if you have done any course, be it online.
When it comes to the selection process, you shall be asked application based questions pertaining to your field. If you have used your acquired knowledge then only you shall be able to answer the questions.
Recently, I was interviewing a person and she had done a course in cognitive behavior therapy from Udemy. When I asked her some application based questions, she had no knowledge about them.
So, it does no matter from where you acquire your knowledge, what matters is how you put it to use and how you answer the questions in an interview.